/*
 * @Date: 2023-03-04 19:40:00
 * @LastEditors: Zireael 1193875164@qq.com
 * @LastEditTime: 2023-03-24 15:18:01
 * @FilePath: \A19\backend\src\shared\protocols\SourceManage\PtlGetPathFiles.ts
 */
/*
 * @Date: 2023-03-04 19:40:00
 * @LastEditors: Zireael 1193875164@qq.com
 * @LastEditTime: 2023-03-04 20:05:15
 * @FilePath: \A19\backend\src\shared\protocols\SourceManage\PtlGetPathFiles.ts
 */
/*
 * @Date: 2023-03-04 19:40:00
 * @LastEditors: Zireael 1193875164@qq.com
 * @LastEditTime: 2023-03-04 19:41:44
 * @FilePath: \A19\backend\src\shared\protocols\SourceManage\PtlGetPathFiles.ts
 */
import { ObjectId } from "mongodb";
import { BaseRequest, BaseResponse, BaseConf } from "../base";
import { file } from '../../../shared/types/Folder';

export interface ReqGetPathFiles extends BaseRequest {
    path:Array<string>
    course:ObjectId
}

export interface ResGetPathFiles extends BaseResponse {
    folders:Array<string>
    files:Array<file>
}

export const conf: BaseConf = {
    needLogin: true,
}